
using AutoMapper;
using SOEI.Solution.Application.Contracts.Customized.RoomSourceVerifyV1.Dtos;
using SOEI.Solution.DomainEntities.RoomSourceVerifiyV1;
using SOEI.Solution.DomainEntities.RoomSourceVerifiyV1.Dtos;

namespace SOEI.Solution.CustomDtoAutoMapper
{

    /// <summary>
    /// 配置Member的AutoMapper映射
    /// 前往 <see cref="SolutionApplicationModule"/>的AbpAutoMapper配置方法下添加以下代码段
    /// LicensesUploadDtoAutoMapper.CreateMappings(configuration);
    /// </summary>
    public static class LicensesUploadDtoAutoMapper
    {
        public static void CreateMappings(IMapperConfigurationExpression configuration)
        {
            configuration.CreateMap<LicensesUpload, LicensesUploadListDto>();
            configuration.CreateMap<LicensesUploadListDto, LicensesUpload>();

            configuration.CreateMap<LicensesUploadEditDto, LicensesUpload>();
            configuration.CreateMap<LicensesUpload, LicensesUploadEditDto>();

            configuration.CreateMap<LicensesUploadSaveEditDto, LicensesUploadEditDto>();
            configuration.CreateMap<LicensesUploadEditDto, LicensesUploadSaveEditDto>();

        }
    }
}